package com.jbm.jbmsupplier.util;

import java.io.Serializable;
import java.util.Map;

/**
 * Created by root on 16-12-1.
 */
public class IAplipay extends ICtrl implements Serializable
{
	private static final long serialVersionUID = 70608506170030010L;


	public IAplipay(boolean back, String errorinfo)
	{
		this.back = back;
		this.errorinfo = errorinfo;
	}
	public IAplipay(String method, String orderno,double amount,String otherparams )
	{     this.method=method;
		  this.orderno=orderno;
		this.amount=amount;
		this.otherparams=otherparams;
	}
	public IAplipay(String method,int acc_id,String acc_type, double amount)
	{
		this.method=method;
		this.acc_id=acc_id;
		this.amount=amount;
		this.acc_type=acc_type;
	}
	public IAplipay(String method, String orderno,String tradeno, double amount)
	{     this.method=method;
		this.orderno=orderno;
		this.amount=amount;
		this.tradeno=tradeno;
	}
	public IAplipay(String method, String result)
	{
		this.method=method;
		this.returnString=result;

	}
	public IAplipay(String method, Map<String, String> params)
	{
		this.method=method;
		this.params=params;

	}
	public IAplipay()
	{

	}

	public String orderno;
	public String tradeno;
	public double amount;
	public String returnString;
   public	Map<String, String> params  ;
	public	String otherparams;
	public  int acc_id;
	public String acc_type;


}
